package io.renren.modules.backstage.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import io.renren.common.utils.PageUtils;
import io.renren.common.utils.Query;

import io.renren.modules.backstage.dao.LoanlogDao;
import io.renren.modules.backstage.entity.LoanlogEntity;
import io.renren.modules.backstage.service.LoanlogService;


@Service("loanlogService")
public class LoanlogServiceImpl extends ServiceImpl<LoanlogDao, LoanlogEntity> implements LoanlogService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<LoanlogEntity> page = this.page(
                new Query<LoanlogEntity>().getPage(params),
                new QueryWrapper<LoanlogEntity>()
        );

        return new PageUtils(page);
    }

}